package org.brisling.sysman.domain;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;

import org.brisling.base.domain.impl.BaseDomain;
import org.brisling.base.domain.inf.BaseDomainInf;
import org.brisling.common.ConstSysParam;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 
 * <p>Title: CarBaseinfo</p>
 * <p>Description: 车辆信息管理类。采用json格式保存指标内容，实现指标自由扩展</p>
 * <p>Company: tongking</p> 
 * @author jackson wang
 * @since  1.0
 * @version 1.0
 * @date 2016年5月18日 下午9:36:56
 */
@Entity
@Table(name=ConstSysParam.MODULE_CAR_BASEINFO)
public class CarBaseinfo extends BaseDomain implements BaseDomainInf{
	
	
	
	
	//车牌号
	private String plate_number;

	//车辆型号
	private String car_type;

	//车辆品牌
	private String car_brand;

	//车辆限载人数 即座位数
	private String car_person;

	//车辆吨重
	private String car_weight;

	//购入日期
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private Date buy_time;

	//车辆备注
	private String car_comment;

	public String getPlate_number() {
		return plate_number;
	}

	public void setPlate_number(String plate_number) {
		this.plate_number = plate_number;
	}

	public String getCar_type() {
		return car_type;
	}

	public void setCar_type(String car_type) {
		this.car_type = car_type;
	}

	public String getCar_brand() {
		return car_brand;
	}

	public void setCar_brand(String car_brand) {
		this.car_brand = car_brand;
	}

	public String getCar_person() {
		return car_person;
	}

	public void setCar_person(String car_person) {
		this.car_person = car_person;
	}

	public String getCar_weight() {
		return car_weight;
	}

	public void setCar_weight(String car_weight) {
		this.car_weight = car_weight;
	}

	public Date getBuy_time() {
		return buy_time;
	}

	public void setBuy_time(Date buy_time) {
		this.buy_time = buy_time;
	}

	public String getCar_comment() {
		return car_comment;
	}

	public void setCar_comment(String car_comment) {
		this.car_comment = car_comment;
	}
}